<div class="ShopCartWrap">
<a   href="<{link app=b2c ctl="site_cart" act="index"}>" class="cart-container"><{t app='b2c'}>购物车中有<{/t}><b class="cart-number">
<script>
<{if $setting.cart_show_type==1}>
    document.write(typeof(Cookie)=='undefined' ? 0 : (Cookie.read('S[CART_NUMBER]')?Cookie.read('S[CART_NUMBER]'):0));
<{else}>
    document.write(typeof(Cookie)=='undefined' ? 0 : (Cookie.read('S[CART_COUNT]')?Cookie.read('S[CART_COUNT]'):0));
<{/if}>
</script></b><{t app='b2c'}>件商品<{/t}></a>
<{if $setting.cart_show_total == "1"}>
<{t}>共计：<{/t}><span class="cart-money-total"><script>document.write(typeof(Cookie)=='undefined' ? 0 : (Cookie.read('S[CART_TOTAL_PRICE]')?Cookie.read('S[CART_TOTAL_PRICE]'):0));</script></span>
<{/if}>
</div>
